# include <stdio.h>
# include <conio.h>
void main()
{float C[5][5],P[5],N[5];
int i,j;
for(i=0;i<5;i++){
	P[i]=1;
	N[i]=1;
	for(j=0;j<5;j++){
		printf("C[%d,%d]=",i,j);
		scanf("%g",&C[i][j]);
			};
		};
for(i=0;i<5;i++)
	for(j=0;j<5;j++){
		if(C[i][j]>0) P[i]=P[i]*C[i][j];
		if(C[i][j]<0) N[i]=N[i]*C[i][j];
			};
for(i=0;i<5;i++){
	printf("Proizv. polozhit elementov %d-i stroki=%g \n",i,P[i]);
	printf("Proizv. otricat. elementov %d-i stroki=%g \n",i,N[i]);
		}
	getch();
}
